package com.mimiwang.common.entity.Vo.Talk;


import java.sql.Timestamp;

public class Talk {


  private long id;
  private long sender;
  private long receiver;
  private String receiverType;
  private String text;
  private String type;
  private String textUrl;
  private long read;
  private Timestamp createTime;
  private long delete;

  public Talk() {

  }

  public Talk(long sender, long receiver, String receiverType, String text, String type, String textUrl) {
    this.sender = sender;
    this.receiver = receiver;
    this.receiverType = receiverType;
    this.text = text;
    this.type = type;
    this.textUrl = textUrl;
  }

  public Talk(long sender, long receiver, String receiverType, String text, String type, String textUrl, long read) {
    this.sender = sender;
    this.receiver = receiver;
    this.receiverType = receiverType;
    this.text = text;
    this.type = type;
    this.textUrl = textUrl;
    this.read = read;
  }

  public Talk(long sender, long receiver, String receiverType, String text, String type, String textUrl, long read, Timestamp createTime) {
    this.sender = sender;
    this.receiver = receiver;
    this.receiverType = receiverType;
    this.text = text;
    this.type = type;
    this.textUrl = textUrl;
    this.read = read;
    this.createTime = createTime;
  }

  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public long getSender() {
    return sender;
  }

  public void setSender(long sender) {
    this.sender = sender;
  }


  public long getReceiver() {
    return receiver;
  }

  public void setReceiver(long receiver) {
    this.receiver = receiver;
  }


  public String getReceiverType() {
    return receiverType;
  }

  public void setReceiverType(String receiverType) {
    this.receiverType = receiverType;
  }


  public String getText() {
    return text;
  }

  public void setText(String text) {
    this.text = text;
  }


  public String getType() {
    return type;
  }

  public void setType(String type) {
    this.type = type;
  }


  public String getTextUrl() {
    return textUrl;
  }

  public void setTextUrl(String textUrl) {
    this.textUrl = textUrl;
  }


  public long getRead() {
    return read;
  }

  public void setRead(long read) {
    this.read = read;
  }


  public Timestamp getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Timestamp createTime) {
    this.createTime = createTime;
  }


  public long getDelete() {
    return delete;
  }

  public void setDelete(long delete) {
    this.delete = delete;
  }

}
